// 物流公司员工
import request from "@/utils/https/requests";
// 列表
export function logAdminList(data: any) {
  return request({
    url: "/logAdmin/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddLogAdmin(data: any) {
  return request({
    url: "/logAdmin/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModLogAdmin(data: any) {
  return request({
    url: `/logAdmin/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function logAdminDetail(id: string) {
  return request({
    url: `/logAdmin/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteLogAdmin(id: string) {
  return request({
    url: `/logAdmin/postDelete/${id}`,
    method: "post",
  });
}
